package com.magenta.maxoptra.gis;

/*
 * User: danil
 * Date: 12.12.12
 * Time: 12:48
 */

import com.magenta.maxoptra.gis.utils.AbstractGisProfiler;

public class ServerUnavailableException extends Exception{

    private AbstractGisProfiler abstractGisProfiler;

    public ServerUnavailableException() {
    }

    public ServerUnavailableException(String message) {
        super(message);
    }

    public ServerUnavailableException(String message, Throwable cause) {
        super(message, cause);
    }

    public ServerUnavailableException(Throwable cause, AbstractGisProfiler profiler) {
        super(cause);
        abstractGisProfiler = profiler;
    }

    public ServerUnavailableException(Throwable cause) {
        super(cause);
    }

    public AbstractGisProfiler getAbstractGisProfiler() {
        return abstractGisProfiler;
    }
}
